package com.jsptpd.smartauth.common.config.druid;

/**
 * Created by LOG on 2017/6/20.
 */
//@Configuration
public class DruidConfig {
//    @Bean("druid-stat-interceptor")
//    public DruidStatInterceptor interceptor() {
//        return new DruidStatInterceptor();
//    }
//
//
//    @Bean
//    public SpringIbatisBeanTypeAutoProxyCreator proxy() {
//        SpringIbatisBeanTypeAutoProxyCreator beanTypeAutoProxyCreator = new SpringIbatisBeanTypeAutoProxyCreator();
//        beanTypeAutoProxyCreator.setInterceptorNames("druid-stat-interceptor");
//        return beanTypeAutoProxyCreator;
//    }

    /*@Bean
    @ConfigurationProperties(prefix="spring.datasource")
    public DataSource druidDataSource() {
        return new DruidDataSource();
    }*/
}
